home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / sound / modac110.zip / MODAC110.DOC < prev    next >
Text File  |  1993-10-18  |  17KB  |  388 lines

  1. MODAC Copyright 1993 by Cornel Huth. All Rights Reserved.
  2. MODAC1.EXE, 18-Oct-1993.
  3.  
  4.  
  5.       MODAC. A shareware mod file player and digital VOC and WAVE file
  6.       player/recorder. Continued use requires registration of $15, US
  7.       DOLLARS ON US BANK. No Credit Cards. Pre-paid orders only. US
  8.       Currency accepted for foreign orders. See the sign-on screen for
  9.       order address.
  10.  
  11.       MODAC was written using my RUCKUS-DAC, with Mod extensions, sound library.
  12.       Also available is RUCKUS-MIDI. The graphics is done with my QB/EVGFX,
  13.       level 2, graphics library. The compiler used was Microsoft BASIC 7.1.
  14.       The sound and graphics libraries are shareware, available for download
  15.       on my BBS.
  16.  
  17.       The latest version Modac, and my other shareware products, may be
  18.       downloaded from The Fortieth Floor BBS, 1(210)684-8065. 16 hours
  19.       of operation: 17:00 to 09:00 Central Time (1pm-9am weekends).
  20.  
  21.       Minimum Requirements:
  22.  
  23.               IBM PC or compatible
  24.               256K RAM
  25.               DOS 3.0+
  26.               VGA
  27.  
  28.               Note: See the Additional Notes at the end of this document.
  29.  
  30.       PC speaker can be used, as can an LPT-DAC on the first LPT port,
  31.       the Disney Sound Source, the AdLib, the Sound Blaster and the
  32.       Sound Blaster Pro. Recording requires either of the Sound Blasters.
  33.  
  34.       Additional Recommendation:
  35.  
  36.               IBM AT or compatible (for mod file playback, a 386/25+)
  37.               1MB extended RAM
  38.               XMS 2.0 (3.0+ required for XMS use under 386 memory managers)
  39.               Mouse
  40.               Sound Blaster Pro sound card
  41.  
  42.  
  43.       Incompatibilities:
  44.  
  45.       Use of DOSMAX has been demonstrated to affect performance by as
  46.       much as 50% in mod file playback. 386 memory managers have no
  47.       noticable effect.
  48.  
  49.       Tandy 2000-series computers may have an incompatible timer chip.
  50.       DMA-only operations should not be affected.
  51.  
  52.       -- This software was developed on an Intel 486/33, Symphony chipset,
  53.       using the Sound Blaster Pro, and a Tseng VGA card w/ET4000AX.
  54.  
  55.       Bus-based mouse should not be using a Microsoft MOUSE.xxx driver in
  56.       the version 7.xx. Use 6.xx or the 8.xx versions.
  57.  
  58.       Some 386 and 486 machines are unable to play Mod data when using both
  59.       DMA and BG modes. Neither of my two machines are affected by this,
  60.       but be aware that some machines will lock up when DMA+BG is used for
  61.       mod file playback.
  62.  
  63.       Performance:
  64.  
  65.       Varies, depending on machine. DMA mode offers good across-the-board
  66.       sound performance on VOC/WAVE data, regardless of CPU power. For
  67.       TIMER-0 operation, the more CPU power, the better. AdLib digital
  68.       output demands lots of CPU power.
  69.  
  70.       For mod processing, the best performance is achieved with foreground
  71.       processing (BG disabled) and DMA processing. 45.5kHz processing rate
  72.       is possible with a 486/33 and an SBPro. With DMA-BG processing, 40kHz
  73.       is about it for a 486/33. In stereo, a mod process rate of 22.75kHz
  74.       is no problem for a 486. If you've never heard a mod played in stereo
  75.       using Modac and an SBPRO, you just haven't heard a mod played.
  76.  
  77.       You should be aware that over-taxing the machine when playing a
  78.       mod may lock your machine up. Use the CPU RESERVES: status in the
  79.       NOSCOPE scope window. If it doesn't say OKAY, you are over-taxing
  80.       your system.
  81.  
  82.       The AdLib output level may be rather low so turn up your volume.
  83.       For mod playback you should limit the rate to no more than 10kHz.
  84.       13kHz tops.
  85.  
  86.  
  87.       BASIC INFO -----------------------------------------------------
  88.  
  89.       At start-up, Modac scans for sound devices. The highest numbered
  90.       device is the device that Modac uses by default. Modac knows
  91.       about the following devices:
  92.  
  93.               0-PC speaker (PCSPK0 at startup)
  94.               1-LPT-DAC
  95.               2-Disney Sound Source
  96.               3-Adlib (ADLIB0 at startup)
  97.               4-Sound Blaster
  98.               5-Sound Blaster Pro
  99.  
  100.       Note that the LPT-DAC is found if there is a parallel printer
  101.       port, even if no DAC is hooked up to it.
  102.  
  103.       All PCs have the PC speaker device. Modac has two PC speaker
  104.       drivers. PCSPK0 is the default. PCSPK1 up-samples and offers a better
  105.       quality sound than PCSPK0. Use Ctrl-S to toggle between the two
  106.       when the device is selected. Ctrl-S also toggles the ADLIB0/ADLIB1
  107.       mode. Do not use the -1 versions to playback voc/wave files that are
  108.       already at a high sample rate (over 8kHz or so). The -1 versions
  109.       are for voc/wave playback; there is no difference when playing mods.
  110.  
  111.  
  112.       The AdLib is a very slow device for doing digital output. It can
  113.       be done but for best results (as far as the AdLib goes), a fast
  114.       CPU is desired. When using ADLIB1, make sure that the original
  115.       sample is no greater than 8kHz. After loading the VOC/WAV file,
  116.       adjust the desired sample rate so that it is slightly less than
  117.       the actual files sample rate. In some cases ADLIB1 can simply not
  118.       be used. Use ADLIB0 mode if you have too much trouble with ADLIB1.
  119.  
  120.  
  121.       Modac down-samples where required so even the PC speaker can
  122.       play a 44kHz stereo WAV file, for example. Adjust the interrupt
  123.       rate in the STATUS BOARD to approximate the desired rate. Modac
  124.       makes on-the-fly adjustments to meet the desired rate. For PCSPK1,
  125.       set the sample rate equal to the actual file sample rate. The
  126.       result will be a 2x up-sample for remarkably clear sound. To
  127.       have the SB (non-PRO) play stereo or high-rate samples, you must
  128.       use timer-0 mode.
  129.  
  130.       ------------------------------------------------------------------
  131.       Note: To adjust a rate with the mouse, use the LEFT MOUSE BUTTON
  132.       to decrease, and the RIGHT MOUSE BUTTON to increase. In the case
  133.       of adjusting the sample rate, each click results in a 100Hz change.
  134.       For 1000Hz changes, press CTRL while clicking, or for finer
  135.       adjustments, hold down the ALT key while clicking. BG must be enabled
  136.       for adjustments to be made while playing. If you click the right
  137.       mouse button on a volume/level control, all related sliders are
  138.       set to that position.
  139.       ------------------------------------------------------------------
  140.  
  141.       For overriding Modac defaults or using Modac without a mouse, see
  142.       section II. COMMAND-LINE OPTIONS.
  143.  
  144.       Device Select.
  145.  
  146.       Available devices are in low-green. Unavailable are low-red. The
  147.       currently selected device is in hi-green.
  148.  
  149.            Note: The AdLib card is a supported device in Modac. It is
  150.            also supported in the CHIMPS program. CHIMPS is similar to
  151.            Modac, except that it plays MIDI files (General MIDI, MT-32,
  152.            and CMF).
  153.  
  154.       To change the current device, click on its button. If the PCSPK or
  155.       ADLIB is currently selected, you can use Ctrl-S to switch between
  156.       the two playback modes available.
  157.  
  158.  
  159.       File Select.
  160.  
  161.       Modac starts up in DIGITAL file mode. The file manager scans for
  162.       all *.VOC or *.WAV files in the current directory. To load a
  163.       file, click on its name in the FILE MANAGER window. Use the
  164.       up/down buttons to scroll through the file list.
  165.  
  166.       To change file modes, go to the STATUS BOARD and click on the
  167.       file mode button until MOD is displayed.
  168.  
  169.       To change directories, click on the desired directory name.  To
  170.       move back to the parent directory, click on the .. entry.
  171.  
  172.       To move to another drive, click on the drive's letter to the
  173.       right of the file entries.
  174.  
  175.       Foreground/Background Play Mode.
  176.  
  177.       Before playing, you may want to select background play by click-
  178.       ing on BG in the SPECIAL FUNCTION BOARD. If BG is not selected,
  179.       all computer resources are spent playing. To exit foreground
  180.       play, press Ctrl-Alt.
  181.  
  182.       BG has the advantage of letting you perform other tasks while the
  183.       playing takes place. You can scan through directories, looking
  184.       for what to play next or select one of the various scope meters
  185.       to give the audio a visual accompaniment. You can also adjust
  186.       volume, filters, playback rate, etc.
  187.  
  188.  
  189.       Play.
  190.  
  191.       To play the loaded file, click on the PLAY button in the STATUS
  192.       BOARD.
  193.  
  194.  
  195.       Stop.
  196.  
  197.       To stop play, click on the STOP button or press the Esc key.
  198.  
  199.  
  200.       Exit Modac to DOS.
  201.  
  202.       To end the program and return to DOS, press Alt-X or click on the
  203.       EXIT button at the lower-right of the display.
  204.  
  205.  
  206.       DOS ENVIRONMENT VARIABLE & COMMAND-LINE OPTIONS ---------------------
  207.  
  208.       Modac uses the DOS variable MODAC=. To have Modac start up in a
  209.       certain state, you can set this variable to your values. Command-line
  210.       options take precedence over the MODAC environment variable states.
  211.  
  212.       For example:
  213.  
  214.               SET MODAC=FILE:*.MOD BG SR:44
  215.  
  216.       has Modac start up in mod file mode, background processing, and
  217.       a process rate of 44kHz (de-rated to 22kHz if stereo is selected--
  218.       the default mode of the SBPRO). You can use a command-line option
  219.       to override this, say, by using a sr:32 on the command line.
  220.  
  221.       Example command line:
  222.  
  223.               C>modac file:daisychn.mod sr:32 color:67
  224.  
  225.       To override some of Modac's defaults, you can use the following
  226.       options:
  227.  
  228.       FILE:file.ext
  229.  
  230.            Load file.ext and play. Also switches Modac file mode to
  231.            .ext. File must reside in current drive\directory. 8-bit VOC
  232.            or .WAV files are supported, up to 45.5kHz, mono and stereo.
  233.  
  234.       BG
  235.  
  236.            Start up in background play mode.
  237.  
  238.       SR:nn
  239.  
  240.            Set sample rate in kHz. For example, use 22 for 22kHz. For
  241.            stereo playback of FILE:file.ext on the SBPRO, double the
  242.            value. E.g., to play DAISYCHN.MOD in stereo at 22kHz, use SR:44.
  243.  
  244.       DMAX:nn
  245.  
  246.            Sets the startup mod file DMA background buffer fill slice count.
  247.            Higher numbers devote more processing time to the buffer fill
  248.            routine. This may be beneficial to slower machines. On fast
  249.            machines the default value of 1 should be just fine. Setting the
  250.            value too high may cause the time-of-day clock to loose time.
  251.            The max value for DMAX:nn is 64. This value should be set to
  252.            1 if BG is not enalbled. DMAX: only affects mod file processing.
  253.            If DMAX is set 64-99 then DMAX is set to 512.
  254.  
  255.       DEVICE:n
  256.  
  257.            Select startup device. Device must be installed. Devices are:
  258.  
  259.                       0-PC speaker
  260.                       1-LPT-DAC on first parallel printer port
  261.                       2-Disney Sound Source
  262.                       3-AdLib
  263.                       4-Sound Blaster (1.03 or above)
  264.                       5-Sound Blaster Pro
  265.  
  266.       COLOR:hh
  267.  
  268.            Alter Modac color scheme. The first h is for the underlying
  269.            screen color; the second for the board foreground. h is a
  270.            hex value, 0-F. The default scheme is COLOR:67.
  271.  
  272.       NoUMB
  273.  
  274.            Prevent Modac from using UMB memory for storing some mod
  275.            file data. If DOS=,UMB is in CONFIG.SYS, Modac uses as much
  276.            UMB memory for mod file data as it can.
  277.  
  278.       muSBP
  279.  
  280.            For Sound Blaster emulation of the SB PRO's mixer facility
  281.            and data display.
  282.  
  283.       KEY:
  284.  
  285.            Unlocks advanced save feature to save recordings made by
  286.            Modac. Also performs format translation. You can load a
  287.            .WAVfile and save it in .VOC format, or vice versa.
  288.  
  289.  
  290.       CONTROLLING MODAC --------------------------------------------------
  291.  
  292.                                  The L-R MOD switches  The FAST MOD is for
  293.                                  left/right output     slow PCs attempting
  294.                                  channels on stereo    to play mod files.
  295.                                  mod output.           Click to toggle state.
  296.  
  297. ┌──────────────────────────────────────────────────────────────┬─────┬─────
  298. │ DEVICE BOARD  Device selection is made here.                 │L-R  │FAST
  299. └──────────────────────────────────────────────────────────────┴─────┴─────
  300. ┌─────┐┌──────────────────────────────────┐┌─────────────────────────
  301. │ S F ││  CONTROL BOARD                   ││  STATUS BOARD
  302. │ P U ││                                  ││
  303. │ E N ││ In VOC/WAV mode, this board      ││ Various Modac states are set
  304. │ C C ││ controls volumes and SBPRO mixer ││ here. With the SB, you can use
  305. │ I T ││ levels, filters, input source,   ││ DMA or TIMER-0. XMS memory needs
  306. │ A I ││ and record mode (stereo/mono).   ││ DMA mode. Memory used/reming is
  307. │ L O ││                                  ││ shown, as is timer-0 priority,
  308. │   N ││ In mod mode, it controls volumes,││ scope mode, running clock, file
  309. │ B   ││ DMA buffer size, output filter,  ││ mode, interrupt process rate,
  310. │ O   ││ and stereo/mono output mode.     ││ CPU stats and more.
  311. │ A   ││                                  ││
  312. │ R   ││ The lamp at the lower-right is   ││
  313. │ D   ││ red when the SB speaker is on.   ││
  314. └─────┘└──────────────────────────────────┘└─────────────────────────
  315. ┌────────────────────────────┐┌──────────────────────────────────────
  316. │ FILE MANAGER               ││ SCOPE
  317. │ ┌────────────────────────┐ ││
  318. │ │Z:\CURRENT\FILE.VOC     │ ││  Various scopes are available. Scopes
  319. │ └────────────────────────┘ ││  operate only if BG is enabled, or if DMA
  320. │ ┌─┐┌────────────┐          ││  processing and not in mod file mode.
  321. │ ├─┤│FILE.VOC    │  Drives  ││
  322. │ │e││..          │          ││  Not all scopes are available for all devices
  323. │ │r││MOREDIR\    │ A  B  C  ││  in all modes. SBPRO has all scopes available
  324. │ │r││OTHER\      │          ││  when in DMA mode.
  325. │ │o││WAVS\       │ D  E  F  ││
  326. │ │r││ Click on file/dir     ││
  327. │ │ ││ entry to load or move ││
  328. │ ├─┤│ to new directory.     ││
  329. │ └─┘└───                    ││
  330. └────────────────────────────┘└──────────────────────────────────────────
  331. ┌─────────────────────────────────────────────────────────────────────────
  332. │ INFO WINDOW  Messages/error messages
  333. └──────────────────────────────────────────────────────────────────────────
  334.  
  335.  
  336.       TIPS:
  337.  
  338.       When recording using the Sound Blaster or Pro, the SB speaker output
  339.       should be off. This is automatically done by Modac when recording
  340.       starts. However, if you adjust the Main Volume, the SB speaker
  341.       is set on. To turn it off, turn the Main Volume to 0.
  342.  
  343.       When RECORD is selected, all available memory is allocated for
  344.       the recording. You may stop recording at any point. To clear
  345.       memory, press the SCANSOFT button in the SPECIAL FUNCTION BOARD.
  346.  
  347.       The PRIORITY window in the STATUS BOARD may be set to 2 to disable
  348.       normal BIOS clock updating and gives all background time to the
  349.       RUCKUS digital processing code. Setting the PRIOR to 0 is not
  350.       recommended.
  351.  
  352.       The mod DMA 4/8/16K buffer size gives good results at 4 with a fast
  353.       machine. Larger buffer sizes makes the VUMETER bars out-of-sync
  354.       since the VU meters respond to the mod data currently being processed,
  355.       while the sound playing is coming from buffered data. The slower the
  356.       rate the more noticable the effect. For slow machines and higher mod
  357.       processing rates, a larger buffer makes for a smoother sound.
  358.  
  359.  
  360. Additional Notes.
  361.  
  362. Modac.exe has also been tested on a 286 machine using a mono video system.
  363. It works. No UI is available; you need a VGA for that. But you can use the
  364. CL options and have Modac operate as a foreground task. To play a file on a
  365. mono system, do:
  366.  
  367.         C>modac FILE:filename.ext SR:16
  368.  
  369. To end playback early, press Ctrl-Alt. Otherwise, the tune plays until it's
  370. over.
  371.  
  372.  
  373. To use your registration key, either add it to the command line, as in
  374.  
  375.         C>modac KEY:yourkey
  376.  
  377. or use it in the MODAC environment variable, as in
  378.  
  379.         C>SET MODAC=KEY:yourkey
  380.  
  381.  
  382. To activate saving mode, press the upper-left button that looks like a
  383. lock. When this button is out you can press the SAVE VOC & SAVE WAV buttons
  384. to save what's in memory to disk. The filename is entered at the bottom line.
  385. Note that when saving from XMS, you should allow at least 100K for loading.
  386. In other words, don't fill up XMS memory recording and then expect MODAC to
  387. load it in since MODAC uses additional XMS memory as workspace on loads.
  388.